/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Situation;

import java.util.HashMap;

/**
 *
 * @author Kian
 */
public class Option {{}
    
    public HashMap content = new HashMap();
    public HashMap result = new HashMap();
    public int itter = 0;
    public boolean done = false;
    
    private boolean pooperscooper;
    
    public String space = "",response = "";
    public String[] prev = {"","","","","","","","","","","","","","","","",""};
   
    public String updateSpace(int l){
        prev[itter] = space;
        
        switch(l){
            case 1:
                space+="_seed1";
                break;
            case 2:
                space+="_seed2";
                break;
            case 3:
                space+="_seed3";
                break;
        }
        itter++;
        return space;
    }
    
    public boolean free(){
        if("_seed1_seed1_seed3".equals(space)){response = (String) result.get("_seed1_seed1_seed3");return true;}
//        else if("".equals(space)){response = "";return true;}
//        else if("".equals(space)){response = "";return true;}
//        else if("".equals(space)){response = "";return true;}
//        else if("".equals(space)){response = "";return true;}
//        else if("".equals(space)){response = "";return true;}
//        else if("".equals(space)){response = "";return true;}
//        else if("".equals(space)){response = "";return true;}
//        else if("".equals(space)){response = "";return true;}
//        else if("".equals(space)){response = "";return true;}
//        else if("".equals(space)){response = "";return true;}
        else return false;
    }
    
    {
        content.put("_seed1", "Charlie Rhoads");
        
            content.put("_seed1_seed1", "Bathroom with Charlie.");
            
                content.put("_seed1_seed1_seed1", "A picture of me making a worried face.");
                content.put("_seed1_seed1_seed2", "The dead cat and moonshine in one picture. Hey, it's a party.");
                content.put("_seed1_seed1_seed3", "Call and ask for help getting out.");
                
            content.put("_seed1_seed2", "Sunho's house.");
            
                content.put("_seed1_seed2_seed1", "Sounds of the Drågøn!");
                content.put("_seed1_seed2_seed2", "Super punch!");
                content.put("_seed1_seed2_seed3", "Seduce the boulder blocking the entrance..");
                
            content.put("_seed1_seed3", "World's largest litterbox.");
            
                content.put("_seed1_seed3_seed1", "Get on my hands and knees to start scraping some dirt.");
                content.put("_seed1_seed3_seed2", "I will give my father a call incase I find a star-nosed mole down"
                        + " there.");
                content.put("_seed1_seed3_seed3", "Try to find the moonshine.");
            
        content.put("_seed2", "Dead Kitten");
        
            content.put("_seed2_seed1", "Kill the damn thing!");
            content.put("_seed2_seed2", "Accept destiny.");
            content.put("_seed2_seed3", "Help the cat live another day.");
       
        content.put("_seed3", "Moonshine");
        
            content.put("_seed3_seed1", "My spouse.");
            content.put("_seed3_seed2", "Killing 11 babies.");
            content.put("_seed3_seed3", "Transcending human beliefs of god.");
        
        
            
            
       result.put("", "You are stuck in a cave. In this cave there is a Charlie Rhoads, a bottle of "
                + "moonshine, and a dead kitten. "
                + "\n\nWhich one do you attempt to drink?");    
            
        
        
        
       result.put("_seed1", "Charlie had to go poop, so he was actually not in the cave when you got stuck inside. "
             + "He was still in the bathroom. \n\nWould you rather try to get to the bathroom with Charlie, Sunho's house, or the world's largest litterbox?");
             
             result.put("_seed1_seed1", "While thinking of how you can get out of the cave and into the bathroom, Charlie sends you a snapchat of himself taking a poop.\n\nHow do you respond?");
                
                /*!!!!!!!!!!!!*/result.put("_seed1_seed1_seed3", "It took him 3 hours to actually show up, but he did it"
                        + ". Charlie came with help and now you are free for the day. \n\nCongratulations, you have"
                        + " escaped the cave.");
             
             result.put("_seed1_seed2", "Thinking of Sunho reminds you that you have trained in the art of kung-fu!"
                     + " Perhaps you can fury-kick open the entrance.\n\nWhat is your first plan of attack?");
             
             result.put("_seed1_seed3", "It turns out the worlds largest litterbox was not large enough to fit inside "
                     + "the cave. The closest thing you can get to it is a pile of dirt under the dead cat. You notice"
                     + " that it is soft soil. Perhaps you could dig your way out.\n\nWhat action do you start with?");
        
        result.put("_seed2", "It turns out the cat kitten was not dead. The purpose of its existence is to die in this"
                + " cave with you right after giving you RABBIES(brown scum). \n\nWhat would you like to do?");
             
             result.put("_seed2_seed1", "?");
             
             result.put("_seed2_seed2", "?");
             
             result.put("_seed2_seed3", "?");
        
        result.put("_seed3", "This moonshine is pretty great. You are immensely wasted and puke in the corner. You use"
                + " the dead cat as a pillow and drift into a dream.  \n\nWhat are you dreaming about?");
             
             result.put("_seed3_seed1", "?");
             
             result.put("_seed3_seed2", "?");
             
             result.put("_seed3_seed3", "?");
    }
}